package com.example.lol.ui.news;

import android.os.Bundle;
import android.view.View;

import com.example.lol.R;
import com.example.lol.base.BaseFragment;

public class GoodfriendFragment extends BaseFragment {

    public static Bundle newArgument(String title) {
        Bundle args = new Bundle();
        args.putString("title", title);
        return args;
    }

//    private TabLayout mTabLayout;
//    private ViewPager mViewPager;
//    private NewsVpAdapter mVpAdapter;

    @Override
    protected void initArgumentData(Bundle arguments) {
        super.initArgumentData(arguments);
    }

    @Override
    protected int rootLayout() {
        return R.layout.fragment_goodfriend;
    }

    @Override
    protected void initView(View view) {
//        mTabLayout = view.findViewById(R.id.home_page_middle_top);
//        mViewPager = view.findViewById(R.id.home_page_middle_new);
    }

    @Override
    protected void initData() {
//        mVpAdapter = new NewsVpAdapter(getChildFragmentManager());
//        mViewPager.setAdapter(mVpAdapter);
//        mTabLayout.setupWithViewPager(mViewPager);
//        mTabLayout.setInlineLabel(true);
    }

    @Override
    protected void bindData() {
        super.bindData();
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"关注"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"推荐"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"手游"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"云顶"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"赛事"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"视频"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"电视台"));
//        mVpAdapter.addData(new NewsTypeBean(NewsTypeBean.TYPE_ARTICLE,"活动"));
    }

    @Override
    protected void bindEvent() {

    }
}
